package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.ShoppingGroupMember;

import java.util.List;

@DBMapper
public interface ShoppingGroupMemberMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShoppingGroupMember record);

    int insertSelective(ShoppingGroupMember record);

    ShoppingGroupMember selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShoppingGroupMember record);

    int updateByPrimaryKey(ShoppingGroupMember record);

    List<ShoppingGroupMember> findByCondtion(ShoppingGroupMember record);

    ShoppingGroupMember selectWithActiveByPrimaryKey(Long id);

    List<ShoppingGroupMember> selectWithActiveByCondtion(ShoppingGroupMember shoppingGroupMember);
}